package com.xxxx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;

/**
 * Created By ShaoXikai on 2022/7/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String name;
    private Address address;
    private String[] books;
    private List<String> hobbys;
    private Map<String, String> card;
    private Set<String> game;
    private String wife;
    private Properties info;

    @Override
    public String toString() {
        return "User{\n" +
                "name='" + name + '\'' +
                ",\n address=" + address +
                ",\n books=" + Arrays.toString(books) +
                ",\n hobbys=" + hobbys +
                ",\n card=" + card +
                ",\n game=" + game +
                ",\n wife='" + wife + '\'' +
                ",\n info=" + info +
                '}';
    }
}
